package com.singfan.core.dao.database.model.constant;

/**
 * Author: hansonghe
 * Date: 2015-08-25 15:25
 * Desc:
 */
public class FilterType {

    /**
     * 综合
     */
    public static final int COMPLEX = 0;

    /**
     * 距离
     */
    public static final int DISTANCE = 1;

    /**
     * 价钱
     */
    public static final int PRICE = 2;

    /**
     * 星级
     */
    public static final int HONOR = 3;

    /**
     * 好评
     */
    public static final int FAVORABLE_COMMENT = 4;

    public static boolean isFilterType(int value){
        return (value >= 0 && value <= 4);
    }
}
